import {CHANGE_LOGIN} from './constants.js'

const defaultState = {
	hideSelf: true
}

export default (state = defaultState, action) => {
	switch(action.type) {
		case 'changeStatus': 
			return {
				...state,
				hideSelf: action.value
			} 
		default: 
			return state
	}
}